Taming Rectified Flow for Inversion and Editing